package com.hckjsec.oa.domain;

import com.hckjsec.common.annotation.Excel;
import com.hckjsec.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 公司OA配置对象 oa_config
 * 
 * @author cyt
 * @date 2021-12-21
 */
public class OaConfig extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 部门id */
    @Excel(name = "部门id")
    private Long deptId;

    /** 打卡地点 */
    @Excel(name = "打卡地点")
    private String place;

    /** 上班时间 */
    @Excel(name = "上班时间")
    private String startWorkTime;

    /** 下班时间 */
    @Excel(name = "下班时间")
    private String endWorkTime;

    /** 经度 */
    @Excel(name = "经度")
    private String longitude;

    /** 纬度 */
    @Excel(name = "纬度")
    private String latitude;

    /** 误差值 */
    @Excel(name = "误差值")
    private String errorValue;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }
    public void setPlace(String place) 
    {
        this.place = place;
    }

    public String getPlace() 
    {
        return place;
    }
    public void setStartWorkTime(String startWorkTime) 
    {
        this.startWorkTime = startWorkTime;
    }

    public String getStartWorkTime() 
    {
        return startWorkTime;
    }
    public void setEndWorkTime(String endWorkTime) 
    {
        this.endWorkTime = endWorkTime;
    }

    public String getEndWorkTime() 
    {
        return endWorkTime;
    }
    public void setLongitude(String longitude) 
    {
        this.longitude = longitude;
    }

    public String getLongitude() 
    {
        return longitude;
    }
    public void setLatitude(String latitude) 
    {
        this.latitude = latitude;
    }

    public String getLatitude() 
    {
        return latitude;
    }
    public void setErrorValue(String errorValue) 
    {
        this.errorValue = errorValue;
    }

    public String getErrorValue() 
    {
        return errorValue;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("deptId", getDeptId())
            .append("place", getPlace())
            .append("startWorkTime", getStartWorkTime())
            .append("endWorkTime", getEndWorkTime())
            .append("longitude", getLongitude())
            .append("latitude", getLatitude())
            .append("errorValue", getErrorValue())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
